package com.news.entity;

import java.util.Date;

public class News {
//	`xwid`,
	private Integer xwid;
//	  `title`,
	private String title;
//	  `uid`,
	private Integer uid;
//	  `publishtime`,
	private Date publishtime;
//	  `content`,
	private String content;
//	  `clickcount`,
	private Integer clickcount;
//	  `tid`
	private Integer tid;
	public Integer getXwid() {
		return xwid;
	}
	public void setXwid(Integer xwid) {
		this.xwid = xwid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public Date getPublishtime() {
		return publishtime;
	}
	public void setPublishtime(Date publishtime) {
		this.publishtime = publishtime;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getClickcount() {
		return clickcount;
	}
	public void setClickcount(Integer clickcount) {
		this.clickcount = clickcount;
	}
	public Integer getTid() {
		return tid;
	}
	public void setTid(Integer tid) {
		this.tid = tid;
	}
	@Override
	public String toString() {
		return "News [xwid=" + xwid + ", title=" + title + ", uid=" + uid + ", publishtime=" + publishtime
				+ ", content=" + content + ", clickcount=" + clickcount + ", tid=" + tid + "]";
	}
	public News(Integer xwid, String title, Integer uid, Date publishtime, String content, Integer clickcount,
			Integer tid) {
		super();
		this.xwid = xwid;
		this.title = title;
		this.uid = uid;
		this.publishtime = publishtime;
		this.content = content;
		this.clickcount = clickcount;
		this.tid = tid;
	}
	
	public News() {}
}
